Mechanical inspection and testing