Add test for #39