test for conditional expression