Add test code for group