added tests for functions in lambda, and added a canvas test