Add test for #6
Merge pull request #13 from missinglink/master

Add test for #6