Tests for select2 case.