Multi node replication test

Feel free to merge your commits when you merge mine.