Added test cases for inline conditionals