Adding test

This commit adds the test that checks the file generated.
Merge pull request #4 from fab-b/master

Adding test