fixed bug in the constructor of CloudServiceOffering + added unit tests

The constructor of CloudServiceOffering does not store some of the arguments passed into it (url, infoUrl, uniqueId, extra & docUrl).

The unit tests provided fail with the old constructor and pass with the new version.