added test for #809@