Additional BGZF writing tests from Petra Kubincová
Fix and test BGZF corner case with offset on block boundary