Special case tornado.gen.engine in Mock object (return an identity lambda)