Refactor test of 'service' object

The method 'utils.create_models_from_data' should have been
used to avoid duplications of code

Change-Id: I068f427694cd7710e99dfd7a06bf136de91a2e04
Merge "Refactor test of 'service' object"