- updated git ignores
- added testcase
- code simplifications
- added comment
Merge pull request #71 from aschnell/master

- added testcase