TMDM-7399: fix NPE when unit test runs.