feat(route): add getter for pattern
refactor(router): suppress function
test(router): implement router tests
style(router test): indents