add test to reproduce #469