Testing Locomotives with battery