[MAT-386] cut down exec time in unit tests.