Added a test to if comprehensions for #869: comprehensions beginning with if clause