#171 Add createTestBattery function