C2FO/fast-csv — pull request #77 by rajit (2014-11-25 10:54:58+00:00)
Title: Fix headers ordering bug.  Add testing demoing bug.

Passing {headers: []} was breaking due to use of a local variable uninitialised under certain conditions.
Fix is to use the instance variable, which was already being set correctly.
Tests introduce dev dependency of event-stream for convenience
- You may want to re-write to suit project style