Add unit tests about server payload.