[Issue 29] Mockito used for process tests