Trying to fix casperJS tests