Test rep for Java