server code testing