updated sort-bed test script