Added test for lambdas