Handle undefined test cases