add some doc tests, exception handling example, fix bug impacting passing args and kwargs to underlying callable