Add tests for PkgResources.