Convert test cases