Test service with Component instead of Plan db object

Since plan db objects are getting removed in add-plan-in-swift,
we need to test service with another object.

Change-Id: I85537ef17f8c125d3de85ab3625ea91e9487376f
Merge "Test service with Component instead of Plan db object"