Usually the things that break are simply
loading it in the first place which can really only be tested with a
browser test.
Can "loading it in the first place" be tested without having to maintain a custom profile for Firefox that overrides default settings for access to browser location information?