Add casper dom test

This pull request adds an extremely simple CasperJS test