Merge in test for replication, and remove rst from tarball.