writes removeAll test