Test for GH#7
Fixes GH#8