Added instance registry tests.