Merge pull request #8 from malini/tests

add ability to unplug phone during a test, and add preliminary battery test
update battery test