add doctests to Bounds class (still one error to investigate)