modulize test cases