Fix BrokenReadWriter tests.