API tests for list services endpoint

This patch adds the API tests for list services endpoint.

Change-Id: Iba2119298fe3171e3f665051a0dad6882db4aef7
Merge "API tests for list services endpoint"