Unify const and non-const array tests
Unify const and non-const array tests

jnishi/chainer,chainer/chainer,ktnyt/chainer,keisuke-umezawa/chainer,ktnyt/chainer,keisuke-umezawa/chainer,wkentaro/chainer,pfnet/chainer,hvy/chainer,niboshi/chainer,tkerola/chainer,jnishi/chainer,keisuke-umezawa/chainer,niboshi/chainer,hvy/chainer,wkentaro/chainer,keisuke-umezawa/chainer,wkentaro/chainer,ktnyt/chainer,chainer/chainer,okuta/chainer,hvy/chainer,jnishi/chainer,hvy/chainer,okuta/chainer,jnishi/chainer,chainer/chainer,okuta/chainer,chainer/chainer,niboshi/chainer,wkentaro/chainer,niboshi/chainer,ktnyt/chainer,okuta/chainer