test for boolean types