Well I do know you can get such a "spark" or crackle when putting plug in or out, mainly when you reach that biting point where the power starts to connect, usually apparent if the plug seems to be put in slowly, or more likely gets a bit tight\stuck part way in\out, it's the power arcing over, but to sensitive equipment like a PC, it can still cause a surge.
Using a power switch to turn on\off while putting the plug in or out is a safer way to go, but surge protection is still highly suggested, because you can't see the surge(s) coming, nor power spikes and brown outs and the like, so it's money well spent.
Now the following is a copy and paste of something I wrote in another thread that covers testing ram, and it's the same process no matter what you are doing it for, but I wrote it in such a way that anyone who would follow it (not in the same position as the topic owner), I covered all the bases, so please don't think I am under estimating you in doing this.
Right the test you have run is to test the ram (memory), not the hard drive or anything else, but if you have reason to wonder about the hard drive we can set you up to scan that for peace of mind if you wish, but given multiple issues all arising from power, I suggest dealing with each in turn, it will be easier to manage and not start getting mixed up.
The fact the ram had no faults found, doesn't mean they are good, so the next step to try is swapping stick around, taking some out and running in-between long enough to get the feeling if you system feels like it used to be, but this is very possibly going to be time consuming, and repetitive, but it's a good way to see if anything shows up, but you are going to have to be methodical in doing this, so pen and paper is advised to note each combination you try.
First the safety rules, whenever you go to go into the case, turn OFF the mains, AND remove the plug, next if the PSU has a switch, turn that off as well, it is the mains power supplied by a kettle lead, and if there is a switch it will be close to where the cable plugs in, a major factor to remember is that static electricity can kill ram as well as other parts, and it only takes a couple of steps to generate enough static to damage something.
So before you touch anything, touch the side of the case (the chassis), this should eliminate any static, but make touching the case like this the 1st thing you do before touching anything inside, and do this every time you go to touch something, even if you have only taken a couple of steps, after you have done each step of what we have to do inside the case, put the side back on, but you only need to use 1 screw (keep the others safe though), then turn it all back on, this is the cycle you need to do every time, it's to keep you safe, and the parts.
Now open the side of the case, there should be 2, possibly 3 screws that hold it on, if they are big you should be able to undo them by hand, but if they look like any other screw then you will need a screwdriver to undo them, they will be on the rear of the case, on the lip of the side that comes round the back of the frame, the lip is maybe quarter of an inch, only undo the 2 or 3 screws in that lip, but there are numerous other screws on the rear, but it is only these ones on the lip that needs to be undone.
With the screws out, you should be able to remove the side, often it needs to be slid backward while flush, this part "may" be easier to do on it's side, once it has loosened, you may be able to straight lift it off, or you may need to "open" it like a door, most of the time it will lift off, it all depends on the case, once removed you will be able to see inside the case, and have access to all the parts.
First thing is take note of everything, but touch nothing yet, the ram will be long rectangle shaped sticks with chips down their sides, it will be close to the heatsink, which is a big block of metal with a fan on top of it, take note of how many sticks there are, and how many slots there are, the slots are colour coded (usually) lengths of plastic that the ram slots into.
It will also help me to know the make\model of the motherboard (that's the big PCB panel that everything's plugged into), this info is usually printed on the board, and take note if it says a revision number, e.g. Rev 2, if you can't see this clearly then we can find out by running another scan, but I would like to know what we are dealing with to make sure we get it right.
Now starts the pen and paper bit
write on the bit of paper Slot 1, Slot 2, Slot 3, Slot 4; this assumes there are 4 sticks of ram, but 12gig is not a figure that I associate with 4 sticks, which is partly why it would help to know what board we are dealing with.
Slot 1 is the slot nearest the heatsink, with Slot 4 being furthest from it, as you move these sticks make sure you keep them on the piece of paper against the slot they came from, when ram states getting swapped around, it is very easy to lose track of what came from where, so this is important, and I don't know if you have anyone else around, or pets, make sure they are unable to disturb this paper and mix up the ram.
I hope this helps, and feel free to ask anything you may want clarifying.