- [ ] src: DRY up and improve modularity and testability - [ ] tests: DRY up and separate cross-existing cases