Did you inspect the machine for BAD CAPS (see google)?

As to testing the PSU, google PSU GREEN WIRE TEST.
As to testing the motherboard, testing costs more than a motherboard!
Bob