Fix up and run unit tests.

This adds the subpackages to `./mach test-unit`.