Consistency test added to examples.