test for #2435