add test for #3049