Set to testing mode when run npm test