build fix for Battery_test, constructor haven't got default values