fixed registry tests