Fixed linting and added a script for tests to run on travis