fix named routes unit test