testing words made and tested for pipe vs file method