add code climate test coverage