Use lambda expressions on specsy-java tests