[PATCH 3/3] unit: Add tests for BrowserOnly Key