Fix consensus test