UV detection in drug testing