Include debug logging in travis build.
Handle a few more edge cases. 100% test coverage now.
0.1.0-6