Change Java API test directory.