change filename prefix; add test_pipe to verify feasibility