Assertions for testing array equiality.