Java code listing test