implement test for circular path