Bug fixes

- Adds mockito for mocking. This should work even on ART
- Fixes #18
- Performance improvements on network calls