Added test harness and mocha-casperjs tests.