tests for true/false queries