meson: add unit tests

Only works properly in an installed setup currently, most
likely won't work with a subprojects setup yet.
4 files changed