Added a test script so that Travis CI can run tests