tests: use g_timeout_add_seconds wherever possible.