Added example-test for errors.