Add tests for select-option pattern.