Remove the # from the template, because that's now generatedA
Added tests, refactored code for better testability
Fixed the data-definition link
Merge pull request #200 from khandelwal/master

Making definitions work again