Added real tests and fixed some issues they revealed. The parse_route function no longer accepts regexes for routes.