add test showing how to test errors