fix bug in ordering of testgroups