modify test for asEc2Vpc method.