change to test env for test/spec tasks