In-situ testing