Cleanup get_test_case() including loop over trusted, testing