add testing file for casperjs