added doc test