Fixing error with NPM test changing config file

When npm test runs, a new configuration file is created to enable PZH testing. This fix replaces the file back once the tests have completed running.
JIra issue: WP-814