From an employment law perspective, an employer would usually only be able to require an employee to undergo any form of medical test if there is an express provision within the employee's contract (or a contractual sickness absence or other policy) providing for this.