Add test and fix #1108