fix book.testnet + fix test_.py for all environements