fix compiling tests