[test] Update npm before running the tests

This should fix the problem with dependencies using a caret (^) when Travis CI build is run against node 0.8