Changed zero array printing from {0} to appropriate number of zeros.
Changed the test kernel function.