[HELIX-518] Add integration tests to ensure helix tasks work as expected during master failover, rb=26272