Improve tests (casperjs)