unit test  fix for puppet 2.7