Implemented tests for the javaEnum and fixed tests for poc