Add test for issue 2953