Explain the logic behind test