add test for #77