modify tests for the ec2 instance behavior of InstanceImpl class.