Added tests to verify circular reference of services