formatting test cases