tests for boolean