server test helper