Added support fo $::osfamily and tests
Updates for travis-ci