Fixing tests failing in PhantomJS