Bug 982645 - [Gaia] [Build] unit test for preferences.js