[qtcontacts-sqlite-extensions] Add unit tests for TwoWayContactSyncAdapter

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