Add testing framework and tests

see https://github.com/hunner/hunner-hiera/pull/9