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

https://bugzilla.mozilla.org/show_bug.cgi?id=982645