Refactorized EC2 tests code, first version of OpenStack test