added test for error content