testcase for  REGISTRY-2364