Make sure the leads to the battery are well connected, as a poor connection there causes those symptoms.
You can check the alternating charging voltage by measuring across the battery with the engine running, should be 14volts. This will confirm the alternator is working.