Default env to 'test' during spec runs

Currently the env is 'development' while specs are running. Travis CI didn't like that one bit. This PR defaults the env to 'test'.