fix adaptions for matrix jobs for unittests