Improve test casperjs, add an include pre.js