Add basic unittests for facebook backend