test nesting of lambdas
fix bug in lambda parser