modify testGetId method of InstanceImplTest class.