Sets NODE_ENV when running tests