Add a test for #47