ENG-5759: Fix test and create overflow if we cant write.
ENG-6037 export ignores ticks where the previous task left an Long.MIN_VALUE sp handle