Mental health tests in the presence of counter-terror units ‘unethical’, says charity