Registry: Register element at the beginning

Adapt test to changed behavior.