Test fixture to simulate various server failures when writing clients.