I suspect that it would make sense to refactor the assertions here, at least to a couple of for loops. Do you agree?