Cleanup test case by adding checks for test names.