added array indexing test