[qtcontacts-sqlite-extensions] Add unit tests for TwoWayContactSyncAdapt...

...er

This commit adds unit tests for TwoWayContactSyncAdapter to ensure
we don't regress functionality in the future.