a roundtrip test for boolean values.