Added testclient for webapi.