Implemented test for group constraint