Unit test for prematureRemove filter added