added document tests