tests for #217