Testing of components and systems