Added test for #3075