add a test for the disabled option handling