intial tests, server API, client