Enable caching of pip downloads in Travis.
Fix linting issue, removed duplicate tests.