Fix up more doxygen things and add tests
Moved common tests into source package
Allow make install-PKG install only PKG and deps