Wrote test for url generation and fixed it up a bit