Add tests for the JDK project factory