add test case for conditional and computation behavior from #1364