Use stream.Writable as it should be.
Test case for synchronous transformer.
Create a string based duplex stream for testing.
All tests passing.
Cleanup.
No need for stream constructor, as stream.Transform is totally awesome.
Test with node 0.8 and 0.10.