We want to test the search form and the resulting page.

Let's create a user to test upon
see: testControlPanelScripts.txt:
    >>> from DateTime import DateTime
    >>> fullname = 'Test User Full Name'
    >>> username = 'testuser'
    >>> email = 'test@plone.org'
    >>> last_login_time = DateTime()
    >>> membership = self.portal.portal_membership
    >>> membership.addMember(username, 'secret', [], [])
    >>> member = membership.getMemberById(username)
    >>> member.setMemberProperties({'fullname': fullname, 'email': email,
    ...                             'last_login_time': last_login_time,})

Check the member's properties
    >>> props = membership.getMemberInfo(username)
    >>> props.get('fullname') == fullname
    True


Now we test the members' search form

    >>> from Testing.testbrowser import Browser
    >>> browser = Browser()
    >>> portal_url = self.portal.absolute_url()
    >>> logout_url = portal_url + '/logout'
    >>> login_url  = portal_url + '/login'
    >>> search_url = portal_url + '/@@search'
    >>> self.portal.error_log._ignored_exceptions = ()

Now we try to get a list of authors as Anonymous User
    >>> browser.open(logout_url)
    >>> '<h1 class="documentFirstHeading">You are now logged out</h1>' in browser.contents
    True
    >>> 'logged_out' in browser.url
    True