[Test] Safari support
[Test] Wrap python2 support in util.py