Test for #451, Fixes #451