Fix compilation of test cases with fixed-debug enabled