change set_hints to return test cases