Test for #19.
Closes #19.