make browser tests cross-platform

Currently they all fail if the default browser command is not `open`.