Fixed failing test (hits is increased internally so counter can be > 1, has to be fixed later).
Merge pull request #4280 from Donnerbart/fixIssue4254

Fixed failing test introduced by PR #4268