Issue #2106939 by smustgrave, dawehner, jungle: Improve test coverage of the flood memory backend test and convert it to a unit test (cherry picked from commit 6acfec45)
mentioned in commit 70a2c35c