added debug prints
added single process pipe test