writer: Test variable buffer sizes