add tests, restore old workspace_groups code for now, update groups when workspace created/renamed/deleted