remove old obsolete error code
refactor to use standard system api
-[NSDictionary cw_filteredDictionaryOfEntriesPassingTest:]
unit test for -cw_filteredDictionaryOfEntriesPassingTest