java tests.