Improve assertions of checking whether arrays are equal or not.

See #5.