Regression tests for #19.