Tests don't actually run on Travis

Fix the tests.sh file so that 1) the tests run on Travis and 2) the tests return the correct status