Adds modularity to ShortUrl test