Ui testing CasperJs