fixed isMasterDown in Sentinel and Sentinel tests