fixes getinstancetest still more tests to come