Tests over TradeRepository with a new environment.