Fix a test failure when connecting to db version v2.4.3

Apparently the error message has changed.