[RFR] various clean ups

- [x] fixing typos and typehinting checkroute method
- [x] remove unused use statements
- [x] make consistent test use statement without line break separation