Unregister Settings Error

If you look at the source of add_settings_error(), you will see that the errors are stored in the $wp_settings_errors global. So in your tearDown() function, you can do this:

$GLOBALS['wp_settings_errors'] = array();

Also, don’t forget to call parent::tearDown(). I sometimes forget, and it can lead to strange behavior. 😉