unit test - doArrayModifier