How a test works