added test for EC2BaseStatePlugin