changed tests because wd text() fails with latest phantomjs