Add travis-lint
Fix tests when a valid username and secret_key are not provided