Add messaging tests
Fix regression in messaging methods caused by change to failover connect method