The test fails on s390x because the hash values are different. Use regex patterns to fix this problem.