test for #2395 #2402