Added java application with java tests