added refactored version of facebook tests