SentTimeCache: replace assert with unit tests