fixed compilation of test cases