added a test to ensure cycle preserves names.