add CasperJS tests

Might not yet work with TravisCI.