Avoid possible race condition in stats test
Avoid possible race condition in stats test

Since `clicks` incrementation is performed asynchronous after sending long url
response, we need to wait a second before querying stats.

hrz-unimr/shrtn