Why are each of the error messages doubled in this test? I would imagine that only one should be printed each time.