Cherry-pick server test from hoa