test for #607