Analysis and testing