Add tests for the syntax error handling
use different exception class when raising the syntax error
Merge pull request #29 from jekyll/syntax-errors