Fix failing DynamicGroupTest