add test for #issue38