To cancel a test invitation, click on the candidate the test was sent to. You will then see a list of the previous test invites on the left-hand side. Select the test and then click cancel.
If you cancel the invite, the link to the test will become disabled for the candidate.