Use Minicluster for WAL tests.

Please use string interpolation
`s"hdfs://localhost:$nnPort/ ${getRandomString()}/"`