Added array kernel test.
Added reduce kernel test.