fix: unit and casperjs specs