NinjaMultiConfig: Update tests for the new dependency change

* Tests were updated for the cases both `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON and OFF

This commit reimplements e454314daaed0ab5f86bba0015747eb296efb8da
3 files changed