Add test for bug report.