Some cross browser test fixes.