test wallet type in restore hook