Unpredictable and erratic behavior like that usually indicates a bad power problem. Unfortunately there's no ROM test for that as having a good power supply is a minimum requirement for running any CPU chip properly. Got to have enough blood in the veins so to speak. Do you still have the old CPU board? It would be interesting to find out exactly what the problem was with it.