handle IndexErrors in URL creation
update template to reflect correct URL key
if you're gonna do the work of creating the right URL, you should serve that
updated test file