Added tests to general.register before insert