The fundamentals of testing SCADA systems