added 2 doctests
added extra test and updated testing docs
added extra test and updated testing docs