Fixes #4984: Rewrite tests to uses classes conditions for execresults and returnszero, for CFEngine 3.6 compatibility