Java tests

Here we go :-)