new pubkey and address manipulation functions, new example tests