this picture shows the logic of a test unit