better error output for failing replication test