Bug 1087402 - [contacts] Integration tests for bug #974589 (follow up)

can we make this check more generic, using a loop for instance?