Refactor env#create tests.

Make sure `env.arguments` is not passed by reference to the created
generator