fix book.testnet
fix tests for all environements