add test for #39