fix tesnet book test and unit tests vector

All test pass now.