Update the unit tests to pass the compilation with javac.