abstraction of array put tests


git-svn-id: http://es-lab.googlecode.com/svn/trunk@877 aeea10e6-ec39-11de-83d8-6d5adf01d787
bug fix


git-svn-id: http://es-lab.googlecode.com/svn/trunk@878 aeea10e6-ec39-11de-83d8-6d5adf01d787