Bug 1011813 - make test addon for native options unload

If this is in `tests`, fine, but if this stays in `sdk/`, this function should probably be a const at the top