testing value type is boolean