Fix test script so that Travis CI runs our tests