Added unit tests for the "lambda" function.