Added test_case_data and test_failure classes to public API