Add server-side tests

Signed-off-by: Kirill Enykeev <enykeev@gmail.com>