3526. [cleanup] Set up dependencies for unit tests correctly during build. [RT #32803] (cherry picked from commit 741ebf1004)
741ebf1004