If Amervo's spark plug test shows poor or inconsistent spark, a good intermediate test is to disconnect the center wire from the distributer and hold it close to a good engine ground with an insulated pliers. If you get good consistant spark then everything upstream of the coil is okay.
My distributer was out 180 and it acted exactly like you're describing. Sparked great but at completely the wrong time.