adding test for #39