Add registry tests.