Test for #184
Fixes #184