Router fixed to work no matter the leading and trailing slashes.
Added a couple unit test conditions.