thanks for fixing my previous comments, but I have more (sorry):
1. "Thanks to Andreas J. König to report it and to Fabio Ponciroli to fix it."
> should be "Thanks to Andreas J. König for reporting it and to Fabio Ponciroli for fixing it."
2. In is_array_between you should:
2.1) Make sure the lengths of the array match.
2.2) Iterate over the indexes of both arrays instead of over one array while incrementing the index.
2.3) similarly to compare_hash_by_ranges, make an entire comparison over the entire array (also similarly to is_deeply),
while returning a single assertion. You may wish to extract the comparison itself out of is_between so you won't generate an "ok" assertion. Finally, make sure you update the "# TEST" assertions and the test count to put it in a single assertion.