Allow for setting an environment and worked on test:prepare