Test some basic features of Java