testing path and output