Add mockito for tests

fixes #17
![selfie-0](http://i.imgur.com/Vo56Igj.png)