Test for bug-451566

add test for bug-451566