bug fix. Using new header keys.
enhancement. Added toString() and expireObject()
added test programs