Fix test

Skip array.foldRight test when the array is too long