PERFORMANCE OF A PROTOTYPE BGO CALORIMETER IN AN ELECTRON-BEAM FROM 2 TO 50 GEV