Added API tests for companies endpoint

Change-Id: Ib750a15527f4a0caef72f3977043e3cd091b138b
Merge "Added API tests for companies endpoint"