fixing infinite loop in mock flush process, tested for multiple strip objects