Simplify unit tests using the lambda expression parser.