Test for bug 13584: