make browser tests cross-platform

Currently they all fail when not running on darwin.