Added EC2 command line unit tests