add getbool function.
unit tests basic shape.