Create tests for TaxonomyExtensions, small fixes