New test for #6
Merge pull request #22 from petems/GH6-fix

New test for #6