Bug 934921 - Making getSegmentInfoForTest() asynchronous