rename Arr to ArrayUtils, add tests, throw exception