fix tests for testnet