Add test for already fixed #634