Add a test for the scan of the last block.