Pharmaceutical tablet testing