CasperJs test almost working! just need to make it async