latex demo file added
Merge pull request #50 from eemihauk/master

latex demo file added
Added tests for validations
Fixed some tests