Fix test case stride bug