Fixed Error in Java-Module; Added new test-class