Test the Java FunctionalList.