Stubs and config for server-side tests