add unit tests for db_replicator

Change-Id: I9002fa193a51f40523e7936e3117a2f3f2b2f7f8
Merge "add unit tests for db_replicator"