changes made for tst_resolve after review

- use memory backend to avoid polluting contacts db
- check that aggregation went right in resolveDuringContactLink()