Added test case for optgroup