Added more tests for conditional blocks