added tester script for array