minor java testing work