Added test coverage with codeclimate