Explicitly run tests in test directory

Travis doesn't seem to like the test command without specifying the
directory...
Update rather than install npm

Ensure that npm is updated rather than installing the
latest version over the existing version.