Check for jQuery in Behat tests

Identified as one potential cause for flickering tests
on our own Selenium box.