that's already being tested at

https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/test/unit/fb_data_test.js