array program test