tests for exceptions __str__()