Fixed crash in RemoveAll() extension method.
Added a test for RemoveAll.
Minor clean-up.