Add autotest for bug-414086

Authored by mlaurent on Wed, Nov 13, 9:43 PM.