Add simple cyclic test
Fix a bug that would prevent it from throwing in cases where the first node would cause the cycle
release 0.2.8