Mockitoised tests