Fixes bad merge.

We don't want to save the dependency every time, only if changes have occurred.
Don't print NPM warning in test.