Allow to compare arrays recursively

commonProcessTestSuccess currently fails to compare arrays that contains another array.

Author: Marius Ghita <mhitza@gmail.com>
Origin: other, https://stackoverflow.com/questions/3876435/recursive-array-diff#3877494