Test that paths can continue past predicates.

Closes #35.