Fix test asserting the sanitized SQL hash differently to some adapters