Added Java 8 lambda test for intermediary result handler