Remove archetypes.referencebrowserwidget and fix test