Testing Koa, Generators and thunks