Test for cluster and node safety

safety means cluster or member in as safe state. When in a safe state it is permissible to shut down a server instance.