Update tests to work with node 0.10 and still work with node 0.8.

While the code appears to work in node 0.10, the tests most certainly do not. The biggest issue is that node 0.10 has new streams which are compatible with node 0.8 streams. The thing that triggers that compatibility mode is adding a `data` event listener. Many of the tests do not do this. Also, setInterval is a crazy thing to use, so that's gone too.