Added casperjs for functional testing