Proper test case for writeAll()
Moiging