add tests for ArrayGenerator and a test suite RunAllTests