Added tests for Group and Team-based access (unfortunately, right now they only work through simpletest_clone).