maybe handle streaming resources better
rewrote the klein tests to use a proper .write and things