Added circular dependency unit test
Renabled test cases and added docs