arrayPush with tests