add npm test script

so that Travis can actually run the tests