Added linting and test coverage