Added tests for pairing and initial state exchange