Add unit tests for Pci_db.merge