Test method for new energy storage charging pile