The behavior you see is most likely due to an optimization that was recently added and the large blocks that appear on testnet. The optimization (assumed valid block) skips some verification for all blocks which are the ancestors of a known valid block. The feature was backported from Bitcoin...