Add test for fix from 64bec7c.