created test that tests the Commpressed MappingClass to make sure it always returns the least
sparse mapping between old and new ids in addition to the dimension. Figured out a way to mock the
context manager to get the apporpriate results