just a copy of pipe test
I think this works but it panics Aric's kernel...