Fixing spec tests

Fixes https://tickets.puppetlabs.com/browse/RAZOR-121