Tests for #71
Fixes #71