Added unit tests for the merge repairs, to ensure that the merge event includes the repairs made.