Fix observer tests on Windows Use %e instead of a hardcoded forward slash.
Provide unused retvals to observers Make sure that the return value is available to observers, even if it is not used by the caller. Closes GH-6422.