Add test for #39
Merge pull request #40 from sandermarechal/master

Add test for #39