A simple routine to validate integration.