Fixes case of passing both input and output formats, and changes default output format.

Adds a few more usage examples to dummy app, and improves tests accordingly.
Merge pull request #12 from lukemelia/helper-fixes

lukemelia