tests/platforms: add java to the set of tests