fix for puppet --test