Basic mocking support. Closes #9
Merge pull request #52 from jandudek/mocking

Basic mocking support. Closes #9