Simple test of using JPA with Java 8 lambda expression