add whyrun-safe-ruby-block func test

tests against the resource and tests the default action