add mock library _.mock(), and _.mock.req, and tests