Yes, candidates can refuse to take the test, but doing so means you may choose to disqualify them from the hiring process. You must obtain consent before conducting the test, in line with UK legal requirements.