how to compile test cases?