Add replication statistics test.

@seancribbs