Added Java max communications tests.