feat: make tests smaller, add functions
21 files changed