Added CodeClimate test coverage