Disabled S3 tests conditionally on Travis

- Fixed condition