Mock framework and simple testing infrastructure

@juberti @andresusanopinto @vrk 
no need to have more global objects than WebRTCTest itself.. right?