Correct usage of amqp_error_string in test code