Added an initial set of integration tests

As part of this testing found a bug with failover.  Will address that bug
as part of this continued work.