Fixed tests to compile.