Undo adding of sudo to .travis.yml and make raise_error tests less specific