tests for not modifying input array
1.0.2