The social network is testing an ad network that would deliver deliver advertisements to mobile applications outside of its own.