Examples: fix testing from the top-level Examples project
These changes will be used to help test ParaView in Spack via the E4S-testsuite project by allowing the Examples directory to be used as validation of ParaView deployments.
Cc: @ryan.krattiger1
Backport: release