fixing lint errors
added code coverage