[CHEF-5356-gcm] Use rspec filters instead of conditionals and add some alternative tests using stubs