add test getInstancess