Reliabilty analysis of a system with inspection and final testing before use