Added tests for client server return codes.