Add test case for #38
Merge pull request #39 from welwood08/patch-2

Add test case for #38