Added test for issue #911.