Bugfix and tests for utils.grep

Added tests for untested utils.grep filters and fixed a bug for the __in and __notin filters.