fixed some help formatting bugs and improved test coverage