Corrected lint errors and test coverage.