Added java test and runner