fixed test macro registry test