Refine AsyncWriter tests