test using the typeahead

test that clicking a typeahead suggestion locks the form, and clicking cancel unlocks the form.