test all kinds of things in Java