tests: refactored response counter