unit test for FB service