functional test harness for casperjs