change structure of base test_case