Added a base package for testing.

Implemented Mocker interface and MockTransport.