fix(java tests): change dir path to match package path and add gradle test logging to build file