add check for circular dependency

@tfoote @wjwwood Please review.
We should print the verb and the arguments as passed which caused the failures, in addition to the failure.