added support for .hbs file extensions

Also included a true test suite for the cli helper