added casperjs + unit and e2e test examples