Move dependency on Dummy out of shared example

[#50752269]