test for writing to wal, after wal is rotated