Do not check for updates if running tests
Merge pull request #1136 from andycrum/no-npm-for-tests

Do not check for updates if running tests