Fixing bug with phantomjs waiting 15000 seconds to timeout a test