Refactors facebook tests