Added java test file