fix selectwidgetwithoptgroup(andlabel) tests