Added test for delimiter=None case in test_write.py