add spec test for #8