attempt to make tests less fragile

the conditions tests fail randomly on travis, and my sandbox vm for
12.04. Can't reproduce it on OSX. I suspect it has something to do
with ghostdriver/phantomjs run_script performance.