Added two test for manager.replaceDatabase, one without attachments and one with