Hacked scope filtering
Renamed scopeFiltering to filteringScope
Added a test for scopeFiltering