Added test for #728