Add test for bug#1756