Added support for parsing routes and the first test for this functionality.