Add tests for the uninstall command and moved tests into a directory
structure that mimics the category hierarchy for package descriptors.