Edited the PhantomJS-based test harness