Tests for custom Syntax Error handling & new exception class

Follow-up to #26.