Running hdfs tests locally with minicluster

Modifying tests needing access to HDFS to use a local minicluster. This allows us to run the snakebite and hdfs tests as part of the build process and not only manually.

The tests uses the minicluster wrapper in https://github.com/spotify/snakebite and the same testing setup as used there. Thanks to @ravwojdyla for setting up the testing scripts in snakebite.