named pipe test ok
refactor named pipe