Added loggedinAsSafetyManager test method