correcting TestWriteRandomSeries (should not be deleting database)