Fixed tests which were breaking the build due to the recent renaming of Substring to substring.
Implemented ArrayView functions: clear, mapInPlace, mapiInPlace, chooseInPlace, chooseiInPlace.