update test.java file

Signed-off-by: Illiya Alterovych <provisota@ukr.net>