Add test for concurrent keys in replacement pairs