Resolve test linting issues
Lint code before tests on travis
Run linting before tests with npm test