Test case for #103
Possible fix for #103