Test adding search box to preferences dialog