Fix logger classname
Monitor non-master nodes as well, but only after a master node is elected in the cluster
Implement some unit tests to check the specific case of a non-master node