Test by comparing items instead of dicts