Adding tests for conditionals.

Need to add some tests for effect-based code here.