Let's make this behave more like all the rest of the meson stuff. This also is the first step to making it a bit more flexible so we can define integration tests in different ways as will be seen in the next commits.
Various tests to cover MONITOR_METADATA setup for OnFailure= and OnSuccess= dependencies.