Version bump to 1.0.6d
Make casperjs test more robust.