[PATCH v2 04/15] Tests.Ping: update failure logic