CasperJS testing sample