Automated component testing