This can be enforced by pre-commit, but correct it separately to make it easier to review.
Tinytest library was misplaced under tools/. By convention, any target libraries belong to lib/, while tools/ contains host-side tools.