refactor rspec tests

the only test run before this commit was the check for
class[sudo::params]. all other tests were skipped. i'm not an rspec
expert to clearly state why, but with this commit all tests are run.

also added a fact for the AIX tests (osfamily) as it was missing.