Ghandi-Test
Small changes in battery module
Rewrote core.util.partition, added tests for it.