add test for asEc2Vpc method.