Yes, but the test must meet certain legal standards, such as it cannot be discriminatory and cannot ask questions that are not related to your job.
(Reviewed 9-08)