Add test for fix in fbed9e.

Resolves #441.