test: Bring in an API client.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>