Add test for effect ordering in groups