Tests for a couple of conditional expressions