Removed the Node inheritance in class VPCInternetGateway and updated state conditional test.