Added Code Climate test coverage