test(safari): add conditional testing for Safari