error handling from the server side, more tests