unit tests for appclient
