The issue is that the first `assert_array_equal` fails, not the last one.