more random tests for IList
optimize IList#takeRight, takeRightWhile, collect
optimize Foldable[IList] methods
more tests for Foldable[IList]