Added test for passing scalars variables to lambdas; made op 'and' fixed.