Test case for #1427