Battery tester to test the quality of energy storage charging pile