add test for #46