adding tests to check groups