[test][_testConfig] take process.env.HOST and process.env.MASTER_KEY

easier for testing without accidentally commit private keys