Test framework

@juberti @andresusanopinto @miguelao @vrk @xians 

Still needs some polishing. :-)