Fix compilation of test.