Fixes tests when posh isnt installed