added get-instances test cases