Added a test for the issue that was fixed in changeset 'e972f163bb7c'.