added casper tests
updated examples for casper
html
update counter html
use workingDirectory
fix file path on windows