fixes route parsing for #189

here's a test and a fix for a problem I found in the route parsing (not handling explicitly named actions)