Testing typeahead.js