Added router tests for getRoute and isCaused, moved location determination from isCaused to _getLocation to make things more easily testable.
Improved router test descriptions. Fixed error checking in one of the router tests