Implement support for lambdas

refs #8030
Remove obsolete unit test

refs #8040