Attempt to update npm before running the tests.