adding failing test for #804