Assessment of drug delivery devices