Test for IndexFirstBlock