This example tests that changes from optional="False" to optional="True"
and back are handled correctly.
