Only group objects
Add test case and documentation