Altered test for string representation of error