adds code climate test coverage