Fixes #4984: Rewrite tests to uses classes conditions for execresults and returnszero, for CFEngine 3.6 compatibility
Merge pull request #61 from ncharles/bug_4984/dev/correct_tests_with_cfengine_3_6

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