Best is to test an EA in a demo account. Not that there is much of a difference in a demo or live EA, but it depends on the servers which the broker uses. There can be a slight difference in data feed between a demo and a live server.