add test for #7