Mock framework and simple testing infrastructure

@juberti @andresusanopinto @vrk 
obvious code-style.. spaces between labels.