fixed bug in the constructor of CloudServiceOffering + added unit tests