Fix mocks in unit tests

Andrey Veltischev requested to merge andrey/fix_tests into master

Merge request reports