Added test for master role proposal after restrat

- New test verifies that upon restarting the cluster, only the old master node will propose itself as master for the first lease period.