fixed to report the test's state exactly