spec for issue #70

I added a spec that reproduces the issue #70, but I am not sure how to fix it.