add tests for usage and info
tests use bare assertion
fix header parsing bugs
minor fixes and tweaks