Test for #559