Added tests to verify circular reference of service