standard test in java