ServiceApi tests