Systems for and methods of automatically scheduling and executing in situ tests on electrical and mechanical systems