Dumped some more core.
Fixed code samples based on better understanding of Mockito.