Renaming fakeWriter to mockWriter for consistency