add test for checking two routes of one action with middleware
added route name in middleware cache. closes #29
0.5.1