test fix wrong assumption should be previous index + 501 + 6
Merge pull request #310 from xiangli-cmu/master

test fix wrong assumption should be previous index + 501 + 6