correct test without lambda