Fixed failing tests in pairing module-spec