fixed get-tests-for-run-state-status