Fixed test/test_trade