add additional test for #846