Setting up front end acceptance tests with PhantomJS and CasperJS