Fix code climate test helper