test cases for AutoGroup