add (failing) test that dependency loops are handled nicely