fix bug with java processor test