Added casperjs tests