total of array test passed