UI test with CasperJS and PhatomJS