Leadership Election HA Tests

    - minor bug fixes