add tests for TestCase callbacks