Probably should add a test that it does *not* modify the input array.