Fix the it { should compile } issue on tests

Currently the CI fails on it should compile.
This commit fixes it and allow tests to pass

See: https://tickets.puppetlabs.com/browse/PUP-1547