OAK-4522 Improve CommitRateLimiter to optionally block some commits (fix test case; this is actually unrelated to changes in OAK-4522)