Added unit tests for standard generators
More reliable error line number using class introspection
Format error message following compiler conventions
Merge pull request #12 from smirolo/master

More unit tests