Fixed a helpers test

Fixed the case where out/ does not exist.