fixed bugs recognizing new test case (or ignoring it)