Fundamentals of instrumentation testing