test cyclic includes

This is an after-hotfix amendment to #100. @jreidinger what do you think? I have verified that this test fails when cherry-picked before 100 is applied.