add test for #58 issue