Integration tests for the failover mechanisms