Ensure that a non-bool type for the clear property still works

The 'clear' property will become a string that will indicate the clearing reason. These tests ensure that the clearing behavior still works with that field being nil/non-nil and opaque.