Take into account time in alerts
Fix alerts (#401)
Fix test in Test Clients Manager