changes to some test data and tests
added back in refdatamanager get_repository_id function