Fix test error message
Test connection closing