Making tests run with NODE_ENV='test' (issue #3).