added casperjs template test