Added a test case for $("<option>test</option>")[0].selected (bug #2050).