Added test to ensure all bytes are transferred during backupSessionFile