Auto-building of batteries, complete with test (right click = build)