Move Java test out of JavaScript test directory