Add test for calling boolean::TO_JSON. Thanks chip++.