Lambdas from trigger YAML, and tests.