completed utilities tests and _parseBuffer on offer
completed offer parse and tobuffer