[qtcontacts-sqlite] Improve aggregation unit tests

Ensure that only one local contact is ever created for new aggregate
contact details.