URL shortener code testing