Fix tests for map fixer
Preserve Python 2 semantics by wrapping calls to filter() in list()