Test for #345