Added support for deposit, fulfill, pending, and withdraw.  Added test for pending.
Cleaned up JSDoc