added testing to routes.core/match-route method