Test replication of a compacted DB

Create test to ensure library can replicate a database that has been compacted and that has several missing revisions.
Could be better named, this doesn't say what the method does, aside from in a very literal sense.