DP-5130 always return NULL inside unit tests from c++ code