Added tests for groups, improved group code
Created group filtering
Added tests for grouplist filtering