Added test for assign with filters