testing for Java