test lambdas on all levels