Add a test for #790
Add #790 to History