Fixes climate tests to work with "npm test" on command line.