tests: Add some code quality checks (mainly for maintainers)
Check things like every use of assert(3) includes <assert.h> and a few other things which are relatively easy to check statically.
Check things like every use of assert(3) includes <assert.h> and a few other things which are relatively easy to check statically.