Fix search error with JS disabled. Add more Behat tests