Test countdown function