Nondestructive testing of composite materials