Add CodeClimate test coverage