Use mocha for tests.
Added a test for throwing an error on missing fileName option.
Added a test for throwing an error when streaming is attempted.
Added a test for ignoring null files.
Added a test for not writing if given no input.
Merge pull request #1 from jussi-kalliokoski/mocha-tests

Better tests